<?php

namespace App\Admin\Renderable;

use Dcat\Admin\Support\LazyRenderable;

class DetailRenderable extends LazyRenderable
{
    public function render()
    {
        return (new $this->payload['controller'])->detail($this->payload['id']);
    }
}
